<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=<?=$this->config->item('charset');?>">
	<title>修改密码_<?=$this->config->item('site_name');?></title>

	<link href="<?=base_url('static/css/global.css')?>" rel="stylesheet" type="text/css" media="screen">
	<link href="<?=base_url('static/css/usercenter.css')?>" rel="stylesheet" type="text/css" media="screen">
	
	<script src="<?=path_res('static/js/jquery.js')?>"></script>
	<script src="<?=path_res('static/js/functions.js')?>"></script>
</head>
<body>

<? $this->load->view('header'); ?>

<div class="user_main clearfix">
    <div class="user_inner_tab">
        <a href="<?=site_url('u/'.$this->user_login->get_user_id())?>" class="user_backbtn1" title="返回我的空间" alt="返回我的空间"></a>
        <ul class="user_inner_tab_ul">
            <li><a href="<?=site_url('user/profile')?>" class="link">编辑个人资料</a></li>
            <li><a href="<?=site_url('user/portrait')?>" class="link">设置头像</a></li>
            <li><a href="<?=site_url('user/change_password')?>" class="current link">修改密码</a></li>
        </ul>
    </div>
	<div class="sixin_list">
		<div class="sixin_list_w">
			<div class="useredit_w">
				<ul class="useredit_ul clearfix">
				<form action="<?=site_url('user/change_password')?>" method="post" onsubmit="return chkChgpasswd();" name="chgpwdForm">
				<input type="hidden" value="modi_p" name="action">
					<li>
						<dl class="clearfix">
							<dt>旧密码：</dt>
							<dd class="dd1"><input id="old_password" name="old_password" value="" class="text" maxlength="20" type="password" /></dd>
							<dd class="dd2"><?=$auth_message?></dd>
						</dl>
					</li>
					<li>
						<dl class="clearfix">
							<dt>新密码：</dt>
							<dd class="dd1"><input id="new_password" name="new_password" value="" class="text" maxlength="20" type="password" /></dd>
							<dd class="dd2"></dd>
						</dl>
					</li>
					<li>
						<dl class="clearfix">
							<dt>重复密码：</dt>
							<dd class="dd1"><input id="confirm_new_password" name="confirm_new_password" value="" class="text" maxlength="20" type="password" /></dd>
							<dd class="dd2"></dd>
						</dl>
					</li>
					<li><dl class="clearfix"><dt></dt><dd class="dd1"><button id="change" type="submit" class="submit">保存</button></dd><dd class="dd2"></dd></dl></li>
				</form>
				</ul>
			</div>
		</div>
	</div>
</div>
<? $this->load->view('footer'); ?>